<?php

Yii::import('common.models._base.BaseReviews');

class Reviews extends BaseReviews {

    public static function model($className = __CLASS__) {
        return parent::model($className);
    }

    public static function getAllReview($type, $classId) {
        return $reviewdetails=Reviews::model()->findAllbyAttributes(array($type => $classId));
    }

}
